package lambda.string;

public class TrimDemo {
    public static void main(String[] args) {

        String str =" hello  ";
        String trim=str.trim();
        System.out.println(trim);
    }
}